package com.mew.slots.core.game.fkymr.message;

import com.mew.slots.core.common.messge.response.SlotsPlayResponseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description: TODO
 * @Author King.Song
 * @Date 2020/11/10 0010
 **/
@Data
@ToString(callSuper = true)
@NoArgsConstructor
public class FkymrPlayResponseMessage extends SlotsPlayResponseMessage {
    public int bonus;//是否进特殊
    private int freeCount;//免费总次数
    private int frees;//中免费次数
    private List<Integer> removeIcon=new ArrayList<>();//免费剔除图标

    @Override
    public void write(ByteBuf b) {
        super.write(b);
        writeInt(b,bonus);
        writeInt(b,freeCount);
        writeInt(b,frees);
        writeInt(b,removeIcon.size());
        for(int ri:removeIcon){
            writeInt(b,ri);
        }
    }

    @Override
    public SlotsPlayResponseMessage read(ByteBuf byteBuf) {
        return null;
    }


}
